{*****************************Version: MPL 1.1*********************************
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* Initial Developer : Fajar Khairil
*
* Portions created by the Initial Developer are Copyright (C) 2010 - 2011
* the Initial Developer. All Rights Reserved.
*
*******************************************************************************
* This File is Part of HadeFramework OPF Library
* Copyright (C) 2010 - 2011 HadeFramework Developer Team
*
* Unit : HadeException
* Description : HadeFramework Exception Class.
*              uses this unit if you want to handle an exception
* Author: - Fajar Khairil
******************************************************************************}
unit hadeexception;

{$mode objfpc}{$H+}

interface

uses
  Classes,
  SysUtils;

Type

  {* EHadeException
   * Base Class for all Hade Framework Exception type }

  EHadeException = class(Exception)
  end;

  EHadeMap = class(EHadeException);

  EHadeVisitorNoFound = class(EHadeMap)end;

  { EHadeConnection Exception from connection type }
  EHadeDatabase = class(EHadeException)
  end;

  EHadeDefaultExists = class(EHadeDatabase )
  end;

  EHadeConnectionNotFound =  class(EHadeDatabase)
  end;

  EHadeNotDefineOID = class(EHadeException)end;

  EHadeVisitorNameExists = class(EHadeException)
  end;

  EHadeMustHaveCriteria = class(EHadeException) end;

  EObjectListEmpty = class(EHadeException)end;

  EHadeBrokerCurrentlyNotSupported = class(EHadeException)end;

  EHadeProgrammerException = class(EHadeException);

  EHadePkExists = class(EHadeException)end;

implementation

end.
